#pragma once
#define IMPORT(type) extern "C" __declspec(dllimport)## type __cdecl

#define IMPORT2(type) extern "C" __declspec(dllimport) type __cdecl

IMPORT(int) fun1();
IMPORT2(int) fun2();
__declspec(dllimport) int fun3();
/*extern "C" */__declspec(dllimport) int __cdecl fun4();